import request from '@/utils/request'
import { baseResponse } from '@/types'
import { getAiResultRequest, getAiResultResponse } from '@/types/ai'

export const getAiResult = async (data: getAiResultRequest) => {
  const response = await request.post<baseResponse<getAiResultResponse>>('AIService/AI/GetAiResult', data)
  return response.data
}
